package com.itheima.dao.impl;

import com.itheima.dao.ClazzDao;
import com.itheima.pojo.Student;

import java.util.List;

public class ClazzDaoImpl implements ClazzDao {

    private List<Student> list;

    public List<Student> getList() {
        return list;
    }

    public void setList(List<Student> list) {
        this.list = list;
    }

    @Override
    public void save() {
        System.out.println(list);
    }
}
